package com.d3works.apps.baml.xml;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

@XmlType
public abstract class BaseNode {

  @XmlAttribute(name = "id")
  private String id;

  @XmlAttribute(name = "name")
  private String name;

  public String getId() {
    return id;
  }

  public String getName() {
    return name;
  }

  public abstract String toCode(boolean dynamic);
}
